package com.lazy.book.common.exception;

import com.lazy.book.common.enums.IResponseEnum;

import java.io.Serial;

public class BusinessException extends BaseException {

  @Serial
  private static final long serialVersionUID = 1L;

  public BusinessException(IResponseEnum responseEnum, Object[] args, String message) {
    super(responseEnum, args, message);
  }

  public BusinessException(IResponseEnum responseEnum, Object[] args, String message, Throwable cause) {
    super(responseEnum, args, message, cause);
  }
}

